package site

type frSiteMpTypeEnum = string

type frSiteMpTypeStruct struct {
	MTR   frSiteMpTypeEnum
	STACK frSiteMpTypeEnum
}

// 肥滚区域机台类型枚举
var FrSiteMpTypeEnum = &frSiteMpTypeStruct{
	MTR:   "MTR",
	STACK: "STACK",
}

var frSiteMpTypeMap = map[frSiteMpTypeEnum]string{
	FrSiteMpTypeEnum.MTR:   "落料机台",
	FrSiteMpTypeEnum.STACK: "码垛区虚拟机台",
}

//获取肥滚区域机台类型枚举对应中文描述
func GetFrSiteMpTypeDesc(code frSiteMpTypeEnum) string {
	if mode, ok := frSiteMpTypeMap[code]; ok {
		return mode
	} else {
		return "未知类型"
	}
}
